#include<stdio.h>
#include<math.h>
int main()
{
	int m;
	double r,y,interest;
	scanf("%d %lf %lf",&m,&y,&r);
	interest = m * pow(1+r,y)-m;
	printf("interest = %.2f",interest);
	return 0;
 } 
